import 'package:flutter/material.dart';
// import 'package:flutter_inappbrowser/flutter_inappbrowser.dart';  //垃圾插件安装不了 吃屎

class WebViewPage extends StatefulWidget {
  WebViewPage({Key key}) : super(key: key);

  _WebViewPageState createState() => _WebViewPageState();
}

class _WebViewPageState extends State<WebViewPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text("WebViewPage"),),
      // body: Column(
      //   children: <Widget>[
      //     Expanded(
      //       child:InAppWebView(
      //           initialUrl: "https://www.baidu.com/",
      //           initialHeaders: {

      //           },
      //           initialOptions: {

      //           },
      //           onWebViewCreated: (InAppWebViewController controller) {
                  
      //           },
      //           onLoadStart: (InAppWebViewController controller, String url) {
                  
      //           },
      //           onProgressChanged: (InAppWebViewController controller, int progress) {
                  
      //           },
      //       ) ,
      //     )
      //   ],
      // ),
    );
  }
}